/**
 * 
 */
package com.explgo.backend.jpa;

import org.springframework.data.jpa.repository.JpaRepository;

import com.explgo.backend.domain.User;

/**
 * The persistence repository interface for User. 
 * 
 * @author Jialiang(Cain) Wang
 */
public interface UserRepository extends JpaRepository<User, Long> {
	/**
	 * Finds the user by user name.
	 * */
	User findByUsername(String username);
}
